package com.canaan.business.domain.basic;

import com.canaan.common.annotation.TableName;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.canaan.common.annotation.Excel;
import com.canaan.common.core.domain.BaseEntity;

/**
 * 条码规则明细对象 wms_code_rule_detail
 *
 * @author ruoyi
 * @date 2023-01-29
 */
@TableName("wms_code_rule_detail")
public class WmsCodeRuleDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 编号 */
    @Excel(name = "编号")
    private String no;

    /** 规则编号 */
    @Excel(name = "规则编号")
    private String ruleNo;

    /** 属性 */
    @Excel(name = "属性")
    private String property;

    /** 参数 */
    @Excel(name = "参数")
    private String param;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    /** 是否删除：1是 0否 */
    private String delFlag;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setNo(String no)
    {
        this.no = no;
    }

    public String getNo()
    {
        return no;
    }
    public void setRuleNo(String ruleNo)
    {
        this.ruleNo = ruleNo;
    }

    public String getRuleNo()
    {
        return ruleNo;
    }
    public void setProperty(String property)
    {
        this.property = property;
    }

    public String getProperty()
    {
        return property;
    }
    public void setParam(String param)
    {
        this.param = param;
    }

    public String getParam()
    {
        return param;
    }
    public void setSort(Long sort)
    {
        this.sort = sort;
    }

    public Long getSort()
    {
        return sort;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("no", getNo())
            .append("ruleNo", getRuleNo())
            .append("property", getProperty())
            .append("param", getParam())
            .append("sort", getSort())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("createTime", getCreateTime())
            .toString();
    }
}
